
package com.hlkj.pay.app.merchant.ext.impl.huifu.dto.access;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import lombok.Data;

import java.util.List;

/**
 * @author HlpayTeam
 * @date 2024/10/17 11:34
 */
@Data
public class HuiFuSubAuthResultDto extends HuiFuMerchantResponseDto {

    /**
     * resp_code : 00000000 resp_desc : 成功 huifu_id : 6666000104854510
     * applyment_stat : APPLYMENT_STATE_REJECTED authorize_stat : 0 pay_channel_id :
     * JP00001 pay_scene : 01 reject_param : licence_number|cert_number
     * reject_reason :
     * 暂未查询到该营业执照注册号，请检查营业执照注册号是否填写正确。（若贵司为新注册，建议等待5~10个工作日再试；若贵司不是个体工商户或企业，请返回并重新选择主体类型）
     * smid : 511299000
     */

    private String mer_reg_info_list;

    private String atu_config_bo_list;

    @Data
    public static class WxConfig {

        /**
         * bank_channel_no : 10000001 fee_type : 01 wx_applet_app_id :
         * wx852v3175fe90f170 wx_config_list :
         * [{"config_type":"3","config_value":"https://api.huifu.com/"},{"config_type":"3","config_value":"https://api.huifu.com/h5/"},{"config_type":"3","config_value":"https://paas.huifu.com/che/"},{"config_type":"3","config_value":"https://paas.huifu.com/che/"},{"config_type":"3","config_value":"https://spin.cloudpnr.com"},{"config_type":"1","config_value":"wx31dfd765c5b00617"},{"config_type":"1","config_value":"wxdd6612b66dd131ab"},{"config_type":"1","config_value":"wx85275fe90a731f10"}]
         * wx_woa_app_id : wx3c5bd0171df50667 wx_woa_path : https://paas.huifu.com/che
         */

        private String bank_channel_no;

        private String fee_type;

        private String wx_applet_app_id;

        private String wx_woa_app_id;

        private String wx_woa_path;

        /**
         * config_type : 3 config_value : https://api.huifu.com/
         */

        private List<WxConfigListBean> wx_config_list;

        @Data
        public static class WxConfigListBean {

            private String config_type;

            private String config_value;

        }
    }
}
